<!DOCTYPE html>
<html lang="en">
<head>
<base href="${basePath}">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta charset="utf-8">
		<title>详情 - 订单管理 - 云支付|云收款</title>
<#include "/views/ftl/base/shop_manage_header.ftl">
	</head> 
<body class="no-skin">
<#include "/views/ftl/base/shop_manage_top.ftl"> 
<div class="main-container" id="main-container">
<#import "/views/ftl/base/shop_manage_left.ftl" as r>
<@r.thebean urlname="orderlist"/>

			<!-- /section:basics/sidebar -->
			<div class="main-content">
				<!-- #section:basics/content.breadcrumbs -->
				<div class="breadcrumbs" id="breadcrumbs">
					<script type="text/javascript">
						try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
					</script>

					<ul class="breadcrumb">
						<li>
							<i class="ace-icon fa fa-home home-icon"></i>
							<a href="shopmanage/Index_index">首页</a>
						</li>

						<li>
							<a href="shopmanage/TranOrder_orderListPage">订单列表</a>
						</li>
						<!--<li class="active">Form Elements</li>-->
					</ul><!-- /.breadcrumb -->

					
					<!-- /section:basics/content.searchbox -->
				</div>

				<!-- /section:basics/content.breadcrumbs -->
				<div class="page-content">
					<!-- #section:settings.box -->
					 <#include "/views/ftl/base/shop_manage_right_float.ftl">

					<!-- /section:settings.box -->					<div class="page-content-area">
						<div class="page-header">
							<h1>
								详情
								<small>
									<i class="ace-icon fa fa-angle-double-right"></i>
									您可以在此处对订单进行操作

								</small>
							</h1>
						</div><!-- /.page-header -->

						<div class="row">
							<div class="col-xs-12">
								<!-- PAGE CONTENT BEGINS -->
								<form class="form-horizontal" role="form" action=" " method="post">
									<!-- #section:elements.form -->
									
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1-1"> 订单编号： </label>
										<div class="col-sm-9 control-label" style="text-align:left">
											${(transactionInfo.tranOrderId)!''}										</div>
									</div>
									
									
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1-1"> 订购商品名称： </label>
										<div class="col-sm-9 control-label" style="text-align:left">
											${(tradeOrder.productSubject)!''}&nbsp;&nbsp;
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1-1"> 商品成交金额： </label>
										<div class="col-sm-9 control-label" style="text-align:left">
											￥ ${(tradeOrder.payMoney)!''} 元
										</div>
									</div>
									
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1-1"> 商户所得金额： </label>
										<div class="col-sm-9 control-label" style="text-align:left">
											￥ ${(tradeOrder.gainMoney)!''} 元
										</div>
									</div>
									
									<#if tradeOrder.orderStatus != 10>
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1-1"> 支付方式： </label>
										<#list tranPayInterfaceTypeEnum as enum>
										<#if enum.payType == interfaceType>
											<div class="col-sm-9 control-label" style="text-align:left">${enum.description2}</div>
										</#if> 
										</#list>
									</div>
									</#if>
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1-1"> 成交网址： </label>
										<div class="col-sm-9 control-label" style="text-align:left">
											${(tradeOrder.dealSite)!'NOsite'}										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1-1"> 来源订单号： </label>
										<div class="col-sm-9 control-label" style="text-align:left">
											${(tradeOrder.outTradeNo)!''}										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1-1"> 下单时间： </label>
										<div class="col-sm-9 control-label" style="text-align:left">
											${(tradeOrder.createTime)!''}										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1-1"> 下单IP： </label>
										<div class="col-sm-9 control-label" style="text-align:left">
											${(tradeOrder.payIpAddr)!''}										</div>
									</div>
									
															<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1-1"> 同步回调地址： </label>
										<div class="col-sm-9 control-label" style="text-align:left">
											<input type="text" name="oreurl" value="${(tradeOrder.payReturnUrl)!''}" placeholder="" class="form-control">
										</div>
									</div>
									 															<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1-1"> 异步回调地址： </label>
										<div class="col-sm-9 control-label" style="text-align:left">
											<input type="text" name="onourl" value="${(tradeOrder.payNotifyUrl)!''}" placeholder="" class="form-control">
										</div>
									</div>
												<script type="text/javascript">
						function omisdf(sumo){
							if(sumo==0){
								document.getElementById("okmion").style.display='none';
							}else{
								document.getElementById("okmion").style.display='block';
							}
						}
						</script>
									<div class="form-group" style="display:none;">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1-1"> 物流情况： </label>
										<div class="col-sm-9 control-label" style="text-align:left">
											<div class="radio" style="float:left">
													<label>
														<input name="form-field-radio" type="radio" class="ace" onclick="omisdf(0)" checked="checked" value="0">
														<span class="lbl"> 不需要</span>
													</label>
											</div>
											<div class="radio" style="float:left">
													<label>
														<input name="form-field-radio" type="radio" class="ace" onclick="omisdf(1)" value="1">
														<span class="lbl"> 需要</span>
													</label>
											</div>

										</div>
									</div>
									<div class="form-group" id="okmion" style="display:none">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1-1"> 物流详情： </label>
										<div class="col-sm-9 control-label" style="text-align:left">
											<textarea name="okddh" placeholder="物流公司名称+单号" class="form-control"></textarea>
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1-1"> 当前状态： </label>
										<div class="col-sm-9 control-label" style="text-align:left"> 
											<span class="label <#if tradeOrder.verifyStatus == 1> label-warning arrowed arrowed-right<#elseif tradeOrder.verifyStatus ==20> label-success arrowed-in arrowed-in-right<#elseif tradeOrder.verifyStatus ==30> label-pink arrowed arrowed-right</#if>"><#list tradeOrderVerifyStatusEnum as enum ><#if (tradeOrder.verifyStatus==enum.status)>${enum.description}</#if></#list>&nbsp;&nbsp; <#list tradeOrderStatusEnum as enum ><#if (tradeOrder.orderStatus==enum.status)>${enum.description}</#if></#list></span>
										</div>
									</div>
																		
									<div class="space-4"></div>

									<input type="hidden" name="id" value="">
									<div class="clearfix form-actions" style="display:none;">
										<div class="col-md-offset-3 col-md-9">
											<button class="btn btn-info" type="submit">
												<i class="ace-icon fa fa-check bigger-110"></i>
												添加物流信息
											</button>

											&nbsp; &nbsp; &nbsp;
											<button class="btn" type="reset">
												<i class="ace-icon fa fa-undo bigger-110"></i>
												重置
											</button>
										</div>
									</div>
									
								</form><!-- PAGE CONTENT ENDS -->
							</div><!-- /.col -->
						</div><!-- /.row -->
					</div><!-- /.page-content-area -->
				</div><!-- /.page-content -->
			</div><!-- /.main-content -->

<#include "/views/ftl/base/shop_manage_footer.ftl"> 
	

<div id="limiterBox" class="limiterBox" style="position: absolute; display: none;">
</div>
</body>
</html>